import {
	myRequest
} from './request.js'

export const Gethttp = (url, params) => {
	return myRequest({
		url: url,
		method: 'GET',
		data: params
	})
}


export const Posthttp = (url, data) => {
	return myRequest({
		url: url,
		method: "POST",
		data: data
	})
}


export const Puthttp = (url, data) => {
	return myRequest({
		url: url,
		method: "PUT",
		data: data
	})
}

export const Deletehttp = (url, data) => {
	return myRequest({
		url: url,
		method: "DELETE",
		data: data
	})
}
